UCF STIG Viewer Logo

The macOS system must be configured so that log folders do not contain access control lists (ACLs).


Overview

Finding ID Version Rule ID IA Controls Severity
V-257159 APPL-13-000031 SV-257159r905110_rule Medium
Description
The audit service must be configured to create log folders with the correct permissions to prevent normal users from reading audit logs. Audit logs contain sensitive data about the system and users. If log folders are set to be readable and writable only by root or administrative users with sudo, the risk is mitigated.
STIG Date
Apple macOS 13 (Ventura) Security Technical Implementation Guide 2023-08-28

Details

Check Text ( C-60844r905108_chk )
Verify the macOS system is configured without ACLs applied to log folders with the following command:

/usr/bin/sudo /bin/ls -lde $(/usr/bin/sudo /usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}')

In the output from the above command, ACLs will be listed under any folder that may contain them (e.g., "0: group:admin allow list,readattr,readextattr,readsecurity").

If any ACLs exists, this is a finding.
Fix Text (F-60785r905109_fix)
Configure the macOS system so that log folders do not contain ACLs with the following command:

/usr/bin/sudo /bin/chmod -N [audit log folder]